"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5424],{70474:function(e,t,n){n.d(t,{Z:function(){return r}});var r=function(e,t,n){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...n}}}},55706:function(e,t,n){n.d(t,{Z:function(){return r}});function r(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}},83592:function(e,t){t.Z=function(e,t=[]){if(void 0===e)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}},27088:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){return parseInt(r.version,10)>=19?e?.props?.ref||null:e?.ref||null}},29985:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}},45262:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(90512),o=n(83592),i=function(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t},l=function(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:l,externalForwardedProps:u,className:a}=e;if(!t){let e=(0,r.Z)(n?.className,a,u?.className,l?.className),t={...n?.style,...u?.style,...l?.style},o={...n,...u,...l};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let s=(0,o.Z)({...u,...l}),c=i(l),d=i(u),f=t(s),p=(0,r.Z)(f?.className,n?.className,a,u?.className,l?.className),m={...f?.style,...n?.style,...u?.style,...l?.style},v={...f,...n,...d,...c};return p.length>0&&(v.className=p),Object.keys(m).length>0&&(v.style=m),{props:v,internalRef:f.ref}}},67603:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e){return e&&e.ownerDocument||document}},58255:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(67603);function o(e){return(0,r.Z)(e).defaultView||window}},86073:function(e,t){t.Z=function(e,t,n){return"function"==typeof e?e(t,n):e}},76423:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}},75260:function(e,t,n){n.d(t,{Z:function(){return h}});var r=n(67294),o=n(90512),i=n(49348),l=n(26061),u=n(63715),a=n(61484),s=n(93945),c=n(57480),d=n(1801);function f(e){return(0,d.ZP)("MuiBackdrop",e)}(0,c.Z)("MuiBackdrop",["root","invisible"]);var p=n(85893);let m=e=>{let{classes:t,invisible:n}=e;return(0,i.Z)({root:["root",n&&"invisible"]},f,t)},v=(0,l.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]});var h=r.forwardRef(function(e,t){let n=(0,u.i)({props:e,name:"MuiBackdrop"}),{children:r,className:i,component:l="div",invisible:c=!1,open:d,components:f={},componentsProps:h={},slotProps:y={},slots:Z={},TransitionComponent:b,transitionDuration:g,...E}=n,x={...n,component:l,invisible:c},R=m(x),k={slots:{transition:b,root:f.Root,...Z},slotProps:{...h,...y}},[w,P]=(0,a.Z)("root",{elementType:v,externalForwardedProps:k,className:(0,o.Z)(R.root,i),ownerState:x}),[T,N]=(0,a.Z)("transition",{elementType:s.Z,externalForwardedProps:k,ownerState:x});return(0,p.jsx)(T,{in:d,timeout:g,...E,...N,children:(0,p.jsx)(w,{"aria-hidden":!0,...P,classes:R,ref:t,children:r})})})},93945:function(e,t,n){var r=n(67294),o=n(98885),i=n(27088),l=n(40533),u=n(2282),a=n(55545),s=n(85893);let c={entering:{opacity:1},entered:{opacity:1}},d=r.forwardRef(function(e,t){let n=(0,l.Z)(),d={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:f,appear:p=!0,children:m,easing:v,in:h,onEnter:y,onEntered:Z,onEntering:b,onExit:g,onExited:E,onExiting:x,style:R,timeout:k=d,TransitionComponent:w=o.ZP,...P}=e,T=r.useRef(null),N=(0,a.Z)(T,(0,i.Z)(m),t),I=e=>t=>{if(e){let n=T.current;void 0===t?e(n):e(n,t)}},C=I(b),S=I((e,t)=>{(0,u.n)(e);let r=(0,u.C)({style:R,timeout:k,easing:v},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),y&&y(e,t)}),A=I(Z),M=I(x),O=I(e=>{let t=(0,u.C)({style:R,timeout:k,easing:v},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),g&&g(e)}),j=I(E);return(0,s.jsx)(w,{appear:p,in:h,nodeRef:T,onEnter:S,onEntered:A,onEntering:C,onExit:O,onExited:j,onExiting:M,addEndListener:e=>{f&&f(T.current,e)},timeout:k,...P,children:(e,t)=>{let{ownerState:n,...o}=t;return r.cloneElement(m,{style:{opacity:0,visibility:"exited"!==e||h?void 0:"hidden",...c[e],...R,...m.props.style},ref:N,...o})}})});t.Z=d},95424:function(e,t,n){n.d(t,{Z:function(){return j}});var r=n(67294),o=n(90512),i=n(49348),l=n(96647),u=n(95715),a=n(26061),s=n(99551),c=n(63715),d=n(75260),f=n(24038),p=n(67603),m=n(62923),v=n(55706),h=n(83592),y=n(58255),Z=n(29985);function b(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function g(e){return parseInt((0,y.Z)(e).getComputedStyle(e).paddingRight,10)||0}function E(e,t,n,r,o){let i=[t,n,...r];[].forEach.call(e.children,e=>{let t=!i.includes(e),n=!function(e){let t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&b(e,o)})}function x(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}class R{add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&b(e.modalRef,!1);let r=function(e){let t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);E(t,e.mount,e.modalRef,r,!0);let o=x(this.containers,e=>e.container===t);return -1!==o?this.containers[o].modals.push(e):this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n}mount(e,t){let n=x(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||(r.restore=function(e,t){let n=[],r=e.container;if(!t.disableScrollLock){let e;if(function(e){let t=(0,p.Z)(e);return t.body===e?(0,y.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){let e=(0,Z.Z)((0,y.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(g(r)+e,"px");let t=(0,p.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight="".concat(g(t)+e,"px")})}if(r.parentNode instanceof DocumentFragment)e=(0,p.Z)(r).body;else{let t=r.parentElement,n=(0,y.Z)(r);e=(null==t?void 0:t.nodeName)==="HTML"&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach(e=>{let{value:t,el:n,property:r}=e;t?n.style.setProperty(r,t):n.style.removeProperty(r)})}}(r,t))}remove(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=this.modals.indexOf(e);if(-1===n)return n;let r=x(this.containers,t=>t.modals.includes(e)),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&b(e.modalRef,t),E(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{let e=o.modals[o.modals.length-1];e.modalRef&&b(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}constructor(){this.modals=[],this.containers=[]}}let k=()=>{},w=new R;var P=function(e){let{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,closeAfterTransition:i=!1,onTransitionEnter:l,onTransitionExited:u,children:a,onClose:s,open:c,rootRef:d}=e,y=r.useRef({}),Z=r.useRef(null),g=r.useRef(null),E=(0,f.Z)(g,d),[x,R]=r.useState(!c),P=!!a&&a.props.hasOwnProperty("in"),T=!0;("false"===e["aria-hidden"]||!1===e["aria-hidden"])&&(T=!1);let N=()=>(0,p.Z)(Z.current),I=()=>(y.current.modalRef=g.current,y.current.mount=Z.current,y.current),C=()=>{w.mount(I(),{disableScrollLock:o}),g.current&&(g.current.scrollTop=0)},S=(0,m.Z)(()=>{let e=("function"==typeof t?t():t)||N().body;w.add(I(),e),g.current&&C()}),A=()=>w.isTopModal(I()),M=(0,m.Z)(e=>{Z.current=e,e&&(c&&A()?C():g.current&&b(g.current,T))}),O=r.useCallback(()=>{w.remove(I(),T)},[T]);r.useEffect(()=>()=>{O()},[O]),r.useEffect(()=>{c?S():P&&i||O()},[c,O,P,i,S]);let j=e=>t=>{var r;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),"Escape"===t.key&&229!==t.which&&A()&&!n&&(t.stopPropagation(),s&&s(t,"escapeKeyDown"))},L=e=>t=>{var n;null===(n=e.onClick)||void 0===n||n.call(e,t),t.target===t.currentTarget&&s&&s(t,"backdropClick")};return{getRootProps:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,h.Z)(e);delete n.onTransitionEnter,delete n.onTransitionExited;let r={...n,...t};return{role:"presentation",...r,onKeyDown:j(r),ref:E}},getBackdropProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":!0,...e,onClick:L(e),open:c}},getTransitionProps:()=>{var e,t;return{onEnter:(0,v.Z)(()=>{R(!1),l&&l()},null!==(e=null==a?void 0:a.props.onEnter)&&void 0!==e?e:k),onExited:(0,v.Z)(()=>{R(!0),u&&u(),i&&O()},null!==(t=null==a?void 0:a.props.onExited)&&void 0!==t?t:k)}},rootRef:E,portalRef:M,isTopModal:A,exited:x,hasTransition:P}},T=n(57480),N=n(1801);function I(e){return(0,N.ZP)("MuiModal",e)}(0,T.Z)("MuiModal",["root","hidden","backdrop"]);var C=n(61484),S=n(85893);let A=e=>{let{open:t,exited:n,classes:r}=e;return(0,i.Z)({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},I,r)},M=(0,a.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((0,s.Z)(e=>{let{theme:t}=e;return{position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:e=>{let{ownerState:t}=e;return!t.open&&t.exited},style:{visibility:"hidden"}}]}})),O=(0,a.ZP)(d.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1});var j=r.forwardRef(function(e,t){let n=(0,c.i)({name:"MuiModal",props:e}),{BackdropComponent:i=O,BackdropProps:a,classes:s,className:d,closeAfterTransition:f=!1,children:p,container:m,component:v,components:h={},componentsProps:y={},disableAutoFocus:Z=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:g=!1,disablePortal:E=!1,disableRestoreFocus:x=!1,disableScrollLock:R=!1,hideBackdrop:k=!1,keepMounted:w=!1,onClose:T,onTransitionEnter:N,onTransitionExited:I,open:j,slotProps:L={},slots:F={},theme:D,...B}=n,K={...n,closeAfterTransition:f,disableAutoFocus:Z,disableEnforceFocus:b,disableEscapeKeyDown:g,disablePortal:E,disableRestoreFocus:x,disableScrollLock:R,hideBackdrop:k,keepMounted:w},{getRootProps:U,getBackdropProps:W,getTransitionProps:H,portalRef:V,isTopModal:Y,exited:_,hasTransition:q}=P({...K,rootRef:t}),z={...K,exited:_},G=A(z),X={};if(void 0===p.props.tabIndex&&(X.tabIndex="-1"),q){let{onEnter:e,onExited:t}=H();X.onEnter=e,X.onExited=t}let J={slots:{root:h.Root,backdrop:h.Backdrop,...F},slotProps:{...y,...L}},[Q,$]=(0,C.Z)("root",{ref:t,elementType:M,externalForwardedProps:{...J,...B,component:v},getSlotProps:U,ownerState:z,className:(0,o.Z)(d,null==G?void 0:G.root,!z.open&&z.exited&&(null==G?void 0:G.hidden))}),[ee,et]=(0,C.Z)("backdrop",{ref:null==a?void 0:a.ref,elementType:i,externalForwardedProps:J,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:e=>W({...e,onClick:t=>{(null==e?void 0:e.onClick)&&e.onClick(t)}}),className:(0,o.Z)(null==a?void 0:a.className,null==G?void 0:G.backdrop),ownerState:z});return w||j||q&&!_?(0,S.jsx)(u.Z,{ref:V,container:m,disablePortal:E,children:(0,S.jsxs)(Q,{...$,children:[!k&&i?(0,S.jsx)(ee,{...et}):null,(0,S.jsx)(l.Z,{disableEnforceFocus:b,disableAutoFocus:Z,disableRestoreFocus:x,isEnabled:Y,open:j,children:r.cloneElement(p,X)})]})}):null})},95715:function(e,t,n){var r=n(67294),o=n(73935),i=n(24038),l=n(27088),u=n(60313),a=n(76423);let s=r.forwardRef(function(e,t){let{children:n,container:s,disablePortal:c=!1}=e,[d,f]=r.useState(null),p=(0,i.Z)(r.isValidElement(n)?(0,l.Z)(n):null,t);return((0,u.Z)(()=>{!c&&f(("function"==typeof s?s():s)||document.body)},[s,c]),(0,u.Z)(()=>{if(d&&!c)return(0,a.Z)(t,d),()=>{(0,a.Z)(t,null)}},[t,d,c]),c)?r.isValidElement(n)?r.cloneElement(n,{ref:p}):n:d?o.createPortal(n,d):d});t.Z=s},96647:function(e,t,n){var r=n(67294),o=n(24038),i=n(27088),l=n(67603),u=n(85893);function a(e){let t=[],n=[];return Array.from(e.querySelectorAll('input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])')).forEach((e,r)=>{let o=function(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1===o||e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!1;let t=t=>e.ownerDocument.querySelector('input[type="radio"]'.concat(t)),n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e)||(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function s(){return!0}t.Z=function(e){let{children:t,disableAutoFocus:n=!1,disableEnforceFocus:c=!1,disableRestoreFocus:d=!1,getTabbable:f=a,isEnabled:p=s,open:m}=e,v=r.useRef(!1),h=r.useRef(null),y=r.useRef(null),Z=r.useRef(null),b=r.useRef(null),g=r.useRef(!1),E=r.useRef(null),x=(0,o.Z)((0,i.Z)(t),E),R=r.useRef(null);r.useEffect(()=>{m&&E.current&&(g.current=!n)},[n,m]),r.useEffect(()=>{if(!m||!E.current)return;let e=(0,l.Z)(E.current);return!E.current.contains(e.activeElement)&&(E.current.hasAttribute("tabIndex")||E.current.setAttribute("tabIndex","-1"),g.current&&E.current.focus()),()=>{d||(Z.current&&Z.current.focus&&(v.current=!0,Z.current.focus()),Z.current=null)}},[m]),r.useEffect(()=>{if(!m||!E.current)return;let e=(0,l.Z)(E.current),t=t=>{R.current=t,!c&&p()&&"Tab"===t.key&&e.activeElement===E.current&&t.shiftKey&&(v.current=!0,y.current&&y.current.focus())},n=()=>{let t=E.current;if(null===t)return;if(!e.hasFocus()||!p()||v.current){v.current=!1;return}if(t.contains(e.activeElement)||c&&e.activeElement!==h.current&&e.activeElement!==y.current)return;if(e.activeElement!==b.current)b.current=null;else if(null!==b.current)return;if(!g.current)return;let n=[];if((e.activeElement===h.current||e.activeElement===y.current)&&(n=f(E.current)),n.length>0){var r,o;let e=!!((null===(r=R.current)||void 0===r?void 0:r.shiftKey)&&(null===(o=R.current)||void 0===o?void 0:o.key)==="Tab"),t=n[0],i=n[n.length-1];"string"!=typeof t&&"string"!=typeof i&&(e?i.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);let r=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()},50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}},[n,c,d,p,m,f]);let k=e=>{null===Z.current&&(Z.current=e.relatedTarget),g.current=!0};return(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)("div",{tabIndex:m?0:-1,onFocus:k,ref:h,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:x,onFocus:e=>{null===Z.current&&(Z.current=e.relatedTarget),g.current=!0,b.current=e.target;let n=t.props.onFocus;n&&n(e)}}),(0,u.jsx)("div",{tabIndex:m?0:-1,onFocus:k,ref:y,"data-testid":"sentinelEnd"})]})}},61484:function(e,t,n){n.d(t,{Z:function(){return u}});var r=n(24038),o=n(70474),i=n(86073),l=n(45262);function u(e,t){let{className:n,elementType:u,ownerState:a,externalForwardedProps:s,internalForwardedProps:c,shouldForwardComponentProp:d=!1,...f}=t,{component:p,slots:m={[e]:void 0},slotProps:v={[e]:void 0},...h}=s,y=m[e]||u,Z=(0,i.Z)(v[e],a),{props:{component:b,...g},internalRef:E}=(0,l.Z)({className:n,...f,externalForwardedProps:"root"===e?h:void 0,externalSlotProps:Z}),x=(0,r.Z)(E,null==Z?void 0:Z.ref,t.ref),R="root"===e?b||p:b,k=(0,o.Z)(y,{..."root"===e&&!p&&!m[e]&&c,..."root"!==e&&!m[e]&&c,...g,...R&&!d&&{as:R},...R&&d&&{component:R},ref:x},a);return[y,k]}}}]);